var Team = {
    1: ['a', 'b', 'c'],
    2: ['x', 'y', 'z']
};




for (var x = 0; x < Team['2'].length; x++) {
    var a = Team['2'][x];

    if (a == 'x') { continue; }

    for (var y = 0; y < Team['2'].length; y++) {
        var b = Team['2'][y];

        if (b == a) { continue; }

        for (var z = 0; z < Team['2'].length; z++) {
            var c = Team['2'][z];

            if (c == a || c == b) { continue; }
            

            if (c == 'x' || c == 'z') { continue; }

            console.log(a, b, c);
        }
    }
}